class CreateAppleCommand implements FruitCommand {
    @Override
    public Fruit execute() {
        return new Apple();
    }
}

class CreateBananaCommand implements FruitCommand {
    @Override
    public Fruit execute() {
        return new Banana();
    }
}